<div id="formsuccess" style="display:none">{if $errors.status == "success"}{$link}{/if}</div>
<form id="deleteForm" name="form" action="?module=backoffice&action=block_DeleteGeneric" method="post" class="nyroModal">
{t assignTo=title}Delete user{/t}
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalTitle.html" title=$title}
<div id="modalContent">
	<table class="modalTable">
		{if !$disableDeletion}
		<tr><th>{t}Are you sure you want to delete the user{/t} "{$user->getLogin()}" ?</th></tr>
		{/if}
		{foreach from=$messages item=message}
		<tr><td>{icon name="warning.png"} {$message}</td></tr>
		{/foreach}

        <input type="hidden" name="docLang" value="{$user->getLang()}" />
        <input type="hidden" name="docId" value="{$user->getUniqueId()}" />
        <input type="hidden" name="recursive" value="false" />
	</table>
</div>
{t assignTo=title}Delete{/t}
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalFooter.html" label=$title onClickParam="" noButton=$disableDeletion}
</form>